<template>
	<div class="container">
		<navigationBar title="设置"></navigationBar>
		<div class="content" :style="'padding-top: ' + (navigationBarHeight-1) + 'px;'">
			<div class="nav-block">
				<div class="nav-item" @click="handlerNav(1)">
					<div class="left">
						<div class="txt">联系我们</div>
					</div>
					<image class="arrow" src="/static/icons/arrowright.png"></image>
				</div>
				<div class="nav-item" @click="handlerNav(2)">
					<div class="left">
						<div class="txt">使用协议</div>
					</div>
					<image class="arrow" src="/static/icons/arrowright.png"></image>
				</div>
				<div class="nav-item" @click="handlerNav(3)">
					<div class="left">
						<div class="txt">意见反馈</div>
					</div>
					<image class="arrow" src="/static/icons/arrowright.png"></image>
				</div>
				<div class="nav-item" @click="handlerNav(4)">
					<div class="left">
						<div class="txt">退出登录</div>
					</div>
					<image class="arrow" src="/static/icons/arrowright.png"></image>
				</div>
			</div>
		</div>

	</div>
</template>

<script>
	import data from '@/js/my/setting/data.js';
	import methods from '@/js/my/setting/methods.js';
	import {
		mapState
	} from 'vuex';
	import navigationBar from '../../components/navigationBar.vue';
	export default {
		data,
		methods,
		onLoad() {
			// this.getPageData()
		},
		onShow() {},
		onHide() {},
		components: {
			navigationBar
		},
		computed: {
			...mapState(['navigationBarHeight'])
		}
	};
</script>
<style>
	page,
	uni-page {
		background-color: #FAFAFA !important;
	}
</style>
<style scoped lang="scss">
	@import '~@/style/my/setting.scss';

	.text {
		font-size: $f30;
		line-height: 42upx;
		color: #000;
		margin-top: 50upx;
	}
</style>